home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-12-08 | 1001 b | 29 lines | [TEXT/GEOL] |
- Item forwarded by CPLUS.ADMIN to CP.ARCHIVES
-
- Item forwarded by ALCABES to CPLUS.APPLE$
-
- Item 5836616 30-Nov-89 01:25
-
- From: MID France, Dev, MID/Nautil
-
- To: CPLUS.DEV$ C++ Interest List--Developers
-
- Sub: RE>RE>Multiple base operator
-
- Thanks Larry,
-
- But are you sure that operator new isn't inherited? I have written some classes
- with single base and where the base operator new is specific, when the
- subclasses are created, the specific operator new is used.
-
- I am writting drivers and I need objects allocated in system heap, so I have
- defined a "SystemObject" class with operators new and delete using system heap.
- I also defined universal classes like "LinkedList" etc... and I would like to
- be able to defined a "SystemLinkedList" with two base: "SystemObject" and
- "LinkedList". I want to be sure that a new SystemLinkedList will call
- "SystemObject::new" and not "::new".
-
- Etienne
-
-
-